/**
 * @author caiqian
 * @Company Mtic
 * @date 2021/9/1
 */
public class SubHuman implements ISubScribe {

    /**
     * 订阅者的名字
     */
    private String sName;

    public SubHuman(String name) {
        this.sName = name;
    }

    /**
     * /阅者有新报纸了
     */
    @Override
    public void hasNewPaper() {
        System.out.println(sName + "!! 有新的报纸了，请查收！");
    }

}
